<template>
	<view class="seeEmail" :class="APPTheme">
		<!-- <uni-nav-bar fixed status-bar left-icon="back" title="视频详情" :color="APPTheme=='theme-light'?'#000000':'#ffffff'" :background-color="APPTheme=='theme-light'?'#ffffff':'#000000'" @clickLeft="clickLeftback"></uni-nav-bar> -->
		<view class="center">
			<video :src="videoUrl" autoplay loop class="video"></video>
		</view>
		
	</view>
</template>

<script>
let that
import {
	mapGetters,
	mapActions
} from 'vuex'
export default {
	components:{
	},
	data() {
		return {
			videoUrl:''
		}
	},
	computed: {
		...mapGetters(['APPTheme', 'userInfo', 'api']),
	},
	onLoad(e) {
		that = this
		console.log(e);
		that.videoUrl=e.url
	},
	onShow() {
		//设置主题颜色
		that.GLOBAL.setThemeColor(that.APPTheme)
	},
	methods: {
		//返回
		clickLeftback(){
			uni.navigateBack({
				delta: 1
			});
		},
	}
};
</script>

<style scoped lang="scss">
.seeEmail{
	width: 100%;height: 100%;
	.center{
		width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;flex-direction: column;
		.video{
			width: 100%;height: 100%;
		}
	}
	
}
</style>
